CC=gcc
FLAGS=-lm
GDB=-g -Wall

all :
	@echo "\tCompilando funções de coloração de grafos"
	make graphColoring.o

graphColoring.o : graphColoring.c graphColoring.h
	$(CC) -c graphColoring.c -g

test : test.c graphColoring.o
	gcc test.c -o test graphColoring.o ../graph.o ../../../io/logs/logSystem.o ../../lists/queue.o ../../lists/linked-list.o $(FLAGS) $(GDB)
test2 : test2.c graphColoring.o
	gcc test2.c -o test2 graphColoring.o ../graph.o ../../../io/logs/logSystem.o ../../lists/queue.o ../../lists/linked-list.o $(FLAGS) $(GDB)

clean :
	rm -f *.o
